package com.kymatrix.kycarbon.xsmd.system.server.model.form.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import lombok.Data;

@ApiModel("更新用户请求")
@Data
public class UpdateUserReq {
    
    @ApiModelProperty(value = "用户id", required = true)
    @NotEmpty(message = "id 不能为空")
    private String id;
    

    @ApiModelProperty(value = "用户名称", required = true)
    @NotEmpty(message = "用户名称不能为空")
    private String username;

    @ApiModelProperty(value = "用户绑定角色id列表", required = true)
    @NotEmpty(message = "角色id列表不能为空")
    private List<String> roleIdList = new ArrayList<>();

    @ApiModelProperty(value = "手机号", required = true)
    @NotEmpty(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "邮箱", required = true)
    @NotEmpty(message = "邮箱不能为空")
    private String email;


}
